package com.probiz.estore.common.model.product;

import com.probiz.estore.common.model.product.base.ProductTypeBrandTbl;

/**
 * Model class for ProductTypeBrand. Add not database mapped fileds in this class.
 * 商品类型与品牌关系
 */
public class ProductTypeBrand extends ProductTypeBrandTbl {

  	/**
	 * Default Empty Constructor for class ProductTypeBrand
	 */
	public ProductTypeBrand () {
		super();
	}
	
	/**
	 * 定义实体的业务名取值
     * @return 业务名
	 */
	public String getProductTypeBrandName () {
		if (productTypeBrandId == null)
	        return "";
	    else
			return brand.getBrandName();
	}
	
	/**
	 * Default Key Fields Constructor for class ProductTypeBrand
     * @param in_productTypeBrandId id
	 */
	public ProductTypeBrand (Integer in_productTypeBrandId) {
		super (in_productTypeBrandId);
	}

}
